ex1 {
  name = "pigeon"
  age = 40
  hobbies = List("swimming", "surfing")
  address {
    street = "sesame street"
    zip = 94105
  }
}

ex2 = new Person {
  name = "pigeon"
  age = 40
  hobbies = List("swimming", "surfing")
  address {
    street = "sesame street"
    zip = 94105
  }
}

ex3 {
  first = "foo"
  second = 42
}

ex4 {
  street = "sesame street"
  zipp = 94105 // intentional typo
}

ex5 {
  numbers = List(1, 2, 3)
}

class Person {
  name: String
  age: Int
  hobbies: List<String>
  address: Address
}

class Address {
  street: String
  zip: Int
}
